<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{padding:0; margin:0;}
        .all{
            width:500px; height:375px;
            background: red;
            position: relative;
        }
        .all ul{
            height:375px;
            overflow: hidden;
        }
        .all p{
            position: absolute;
            right:0;bottom:0;
        }
        .all p a{
            width:26px; height:26px;
            background: rgba(0,0,0,0.6);
            color: #fff;
            text-align: center;
            line-height: 26px;
           float:left;
           margin-right: 5px;
            text-decoration: none;
        }
    </style>
</head>
<body>
   <div class="all">
       <ul>
           <li><img src="images/img04.jpg" alt="" id="p1"></li>
           <li><img src="images/img05.jpg" alt="" id="p2"></li>
           <li><img src="images/img06.jpg" alt="" id="p3"></li>
           <li><img src="images/img07.jpg" alt="" id="p4"></li>
       </ul>
       <p>
           <a href="#p1">1</a>
           <a href="#p2">2</a>
           <a href="#p3">3</a>
           <a href="#p4">4</a>
       </p>
   </div> 
</body>
</html>